
<?php

if ($registration->errors) {
    foreach ($registration->errors as $error) {
        echo $error;    
    }
}

if ($registration->messages) {
    foreach ($registration->messages as $message) {
        echo $message;
    }
}


?>
<?php include "headers.php"; ?>

<body>
  <div id="main">
    <?php include "header.php"; ?>
        <div id="site_content">
        <div id='advancedCall'  style="text-align:center;margin-left:350px;"> 
            <form method='post' action='Registracion.php'   id='loginForm'>
                <table>
                     <tr><td>Usuario</td>
                         <td><input class='demo login_input' type='text' name='user_name' id='user_name'/></td>
                     </tr>
                     <tr><td>Contrase&ntilde;a</td>
                        <td><input class='demo login_input' type='password' name='user_password' id='password' /></td>
                    </tr>
                     <tr><td>Reingresar Contrase&ntilde;a</td>
                        <td><input class='demo login_input' type='password' name='re_password'   id='repassword'/></td>
                    </tr>
                     <tr><td>Email</td>
                        <td><input class='demo login_input' type='text' name='email' id='email'/></td>
                    </tr>
                     <tr><td>Patente Automovil</td>
                        <td> <input class='demo login_input' type='text' name='patente'  id='patente' /></td>
                    </tr>
                     <tr><td>Direcci&oacute;n</td>
                        <td><input class='demo login_input' type='text' name='direccion'  id='direccion' /></td>
                    </tr>
                     <tr><td colspan="2"> <input type="submit"  name="register" value="Registrarse" /></td></tr>
                </table>
            </form>
            <a href="index.php">Volver</a>
            </div>
    </div>

    
  <?php include "footer.php"; ?>

  </div>
</body>
</html>

